package com.acme.task2;

public class Foo {
	int i;
	
	@Override
	protected void finalize() throws Throwable {	
		super.finalize();
		System.out.println(i);
	}
	
	public Foo(int i) {
		this.i = i;
	}
}